home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.19981211-19990422 / 000276_news@watsun.cc.columbia.edu _Wed Feb 24 19:29:51 1999.msg < prev    next >
Internet Message Format  |  2020-01-01  |  3KB

  1. Return-Path: <news@watsun.cc.columbia.edu>
  2. Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30])
  3.     by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id TAA23528
  4.     for <kermit.misc@watsun.cc.columbia.edu>; Wed, 24 Feb 1999 19:29:51 -0500 (EST)
  5. Received: (from news@localhost)
  6.     by newsmaster.cc.columbia.edu (8.8.5/8.8.5) id TAA09288
  7.     for kermit.misc@watsun.cc.columbia.edu; Wed, 24 Feb 1999 19:13:47 -0500 (EST)
  8. X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to <news> using -f
  9. From: fdc@watsun.cc.columbia.edu (Frank da Cruz)
  10. Subject: Re: Setserial High Speed Help
  11. Date: 25 Feb 1999 00:13:40 GMT
  12. Organization: Columbia University
  13. Message-ID: <7b24jk$924$1@newsmaster.cc.columbia.edu>
  14. To: kermit.misc@mailrelay2.cc.columbia.edu
  15.  
  16. In article <yn0B2.158$ux2.591@news15.ispnews.com>,  <conover@inow.com> wrote:
  17. : C. Lance Moxley writes:
  18. : > 
  19. : > Here is what happens when I try to go to 230400bps:
  20. : > 
  21. : > (/home/clm/) C-Kermit>set speed 230400
  22. : > ?SET SPEED fails, speed is 110
  23. : > 
  24. : > It says that it is compiled to go to 460800:
  25. : > 
  26. : > (/home/clm/) C-Kermit>set speed ? Transmission rate for /dev/cua2 in
  27. : >  bits per second, one of the following:
  28. : >  110     1200    150     19200   230400  300     460800  50   600  9600
  29. : >  115200  134.5   1800    200     2400    38400   4800    57600   75
  30. : > 
  31. : > When I drop to 115200 it works fine.
  32. : I don't know, but it might be aserial card problem. I think the RS232
  33. : has a 115200 limit.
  34. Not really.  If there is any limit at all in the standard, last time I looked
  35. it was 20000 bps.  The following issues are pertinent for each speed:
  36.  
  37.  1. Is there an API to set the speed?
  38.  
  39.  2. If there is an API, will the driver accept the speed?
  40.  
  41.  3. If the driver accepts the speed, will the device be able to use it?
  42.  
  43.  4. If the device can use it, will it work?
  44.  
  45. The latter depends on electricity, information theory, etc.  How long is
  46. the cable, what is its capacitance, how well is it shielded, etc, not to
  47. mention that every connection has two ends and its success depends on both
  48. of them.  (With the obvious caveats about internal modems, is the cable
  49. really connected, interrupt conflicts, etc etc etc).
  50.  
  51. In C-Kermit 7.0:
  52.  
  53.  1. If there is an API to set the speed, the speed appears in the
  54.     "set speed ?" list (determined at compile time).  If a speed does not
  55.     appear in the list, that means it was not found in the header files
  56.     on the computer where Kermit was built.  If your computer's header
  57.     files include additional speeds, rebuild Kermit on your computer to
  58.     pick them up.
  59.  
  60.  2. If the driver does not accept the speed, or gets an error trying to
  61.     set it in the device, Kermit reports an error (determined at run time).
  62.  
  63.  3. If Kermit does not report an error, then the APIs have told Kermit
  64.     that the speed was set successfully.  But this still does not guarantee
  65.     it will work, because no software can control factors outside the
  66.     computer.
  67.  
  68. - Frank